package cn.com.smart.module.system.role.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 角色和部门关联 sys_role_org
 * 
 */
@Data
@TableName("sys_role_org")
public class RoleOrg
{
    /** 角色ID */
    private Long roleId;
    
    /** 部门ID */
    private Long orgId;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roleId", getRoleId())
            .append("orgId", getOrgId())
            .toString();
    }
}
